
<?php
$this->widget('bootstrap.widgets.TbAlert', array(
        'block'=>true, // display a larger alert block?
        'fade'=>true, // use transitions?
        'closeText'=>'&times;', // close link text - if set to false, no close link is displayed
        'alerts'=>array( // configurations per alert type
            'success'=>array('block'=>true, 'fade'=>true, 'closeText'=>'&times;'), // success, info, warning, error or danger
            'error'=>array('block'=>true, 'fade'=>true, 'closeText'=>'&times;'), // success, info, warning, error or danger
        ),
    ));
 ?>
<form action="" method="post" >
<label for="account">Add Đồng cho Account:</label>
<input type="text" name="account" id="account"/>
&nbsp;&nbsp; &nbsp;&nbsp;
<label> Số đồng:</label>
<select name="amount">
    <option value="<?php echo KEY_ADD_DONG_DD ?>">add thưởng 20 vạn diễn đàn</option>
    <option value="10000">1 vạn</option>
    <option value="100000">10 vạn</option>
    <option value="500000">50 vạn</option>
    <option value="1000000">100 vạn</option>
    <option value="5000000">500 vạn</option>
    <option value="10000000">1000 vạn</option>
</select>
&nbsp;&nbsp;&nbsp;&nbsp;
<label for="account">Ghi chú (lý do):</label>
<input type="text" name="comment" id="account"/>
<input class="btn btn-primary" type="submit" value="add" name="adddong"/>

</form>
<h1>Log Add Dongs</h1>


<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'log-add-dong-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'id',
		'login_name',
		'amount',
		'time_add',
		'account',
		'comment',
		array(
			'class'=>'CButtonColumn',
		),
	),
)); ?>
